package fina2.dcs.fis;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import javax.ejb.Local;

@Local
public interface BankLocal {
	public void init();

	public void remove();

	public void addBank(Bank b);

	public Bank findByCode(String code);

	public Bank findById(BigDecimal id);

	public List<String> findCodesByIds(String ids);

	public List<Bank> findByIds(String ids);

	public List<Bank> getAllBanks();

	public List<Bank> getBanksByPrefix(Object p);

	public List<Bank> getBanksByTypeId(String typeId);

	public BigDecimal getMaxId();

	public ArrayList<String> getCodes();

	public void setCodes(ArrayList<String> codes);

	public List<String> getAllBankCodes();

	public BankType getBankTypeByTypeId(BigDecimal typeId);

	public long getBanksCount(BigDecimal userId);

	public String removeBank(Bank b);

}
